

<div id="left-col">
    <?php $this->renderPartial('_side',array(

    ));?>
</div>
<div id="right-col">

    <div class="wrap">
        <div class="container">

            
            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
             
                <?php $this->renderPartial('_view',array(
                    'model'=>$model
                ));?>
                <?php $this->renderPartial('_tab',array(
                    'model'=>$model,
                ));?>
                
                <br/>
                
                <div class="form">
                    <?php
                    $form = $this->beginWidget('CActiveForm', array(
                                'id' => 'inventory-form'
                            ));
                    ?>
                   
                        <?php echo $form->errorSummary($model); ?>
                        <?php echo $form->hiddenField($model, 'partno'); ?>
                    <div class="row">
                        <?php echo $form->labelEx($model, 'notes'); ?>
                        <div class="model-data">
                            
                            <a href="javascript:void(0);" id="insertText" onclick="insertAtCaret('Inventory_notes',getDate()+' - ');">Insert time</a>
                            
                        <?php echo $form->textArea($model, 'notes', array('rows' => 6, 'cols' => 50)); ?>
                        <?php echo $form->error($model, 'notes'); ?>
                        </div>
                        
                    </div>   
                    <div class="row_buttons">
                        <?php echo CHtml::submitButton('Save');?>
                    </div>
                    <?php $this->endWidget()?>
                </div>
                </div>
                
            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
    <?php $this->renderPartial('/copyright'); ?>
</div> <!-- left-col -->
